package org.jeecg.modules.flowable.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangyong
 * @since 2022-10-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_act_ru_actinst")
@ApiModel(value="TActRuActinstEntity对象", description="")
public class TActRuActinstEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "引擎流程定义ID")
    @TableField("PROC_DEF_ID_")
    private String procDefId;

    @ApiModelProperty(value = "引擎流程实例ID")
    @TableField("PROC_INST_ID_")
    private String procInstId;

    @ApiModelProperty(value = "引擎任务实例ID")
    @TableField("TASK_ID_")
    private String taskId;

    @ApiModelProperty(value = "引擎任务定义ID")
    @TableField("TASK_DEF_KEY_")
    private String taskDefKey;

    @ApiModelProperty(value = "节点态度(1同意、2不同意、3已阅)")
    @TableField("ATT_TYPE")
    private Integer attType;

    @ApiModelProperty(value = "节点态度说明")
    @TableField("ATT_DESC")
    private String attDesc;

    @ApiModelProperty(value = "表单信息-自定义表单ID(FK)")
    @TableField("ACT_FENG_FORM_ID")
    private String actFengFormId;

    @ApiModelProperty(value = "表单信息-表单实例ID")
    @TableField("FORM_INST_ID")
    private String formInstId;

    @ApiModelProperty(value = "受理人ID")
    @TableField("ACCEPT_ID")
    private String acceptId;

    @ApiModelProperty(value = "受理人姓名")
    @TableField("ACCEPT_NAME")
    private String acceptName;

    @ApiModelProperty(value = "受理时间")
    @TableField("ACCEPT_TIME")
    private Date acceptTime;

    @ApiModelProperty(value = "是否有表单数据")
    @TableField("IS_FORM")
    private Integer isForm;

    @ApiModelProperty(value = "是否有附件数据")
    @TableField("IS_ATTR")
    private Integer isAttr;

    @ApiModelProperty(value = "公共-备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "公共-创建人")
    @TableField(value = "CREATE_BY", fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "公共-创建时间")
    @TableField(value = "CREATE_TIME", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "公共-修改人")
    @TableField(value = "UPDATE_BY", fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "公共-修改时间")
    @TableField(value = "UPDATE_TIME", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "公共-有效性状态")
    @TableField("DEL_FLAG")
    private Integer delFlag;

    @ApiModelProperty(value = "公共-租户ID")
    @TableField(value = "TENANT_ID", fill = FieldFill.INSERT)
    private String tenantId;

    @ApiModelProperty(value = "公共-事务ID")
    @TableField("TID")
    private String tid;

    @ApiModelProperty(value = "公共-预留1")
    @TableField("EXT_AA")
    private String extAa;

    @ApiModelProperty(value = "公共-预留2")
    @TableField("EXT_BB")
    private String extBb;

    @ApiModelProperty(value = "事项实例ID")
    @TableField("ACT_MATTER_INST_ID")
    private String actMatterInstId;

    @ApiModelProperty(value = "执行动作函数")
    @TableField("ACTION_FUN_NAME")
    private String actionFunName;

    @TableField("ACTION_FUN_CODE")
    private String actionFunCode;

    @ApiModelProperty(value = "成本耗时")
    @TableField("COST_TIME")
    private Long costTime;

    @ApiModelProperty(value = "节点JSON数据")
    @TableField("FORM_CONTENT")
    private String formContent;

}
